package com.xuhao.didi.socket.server.exceptions;

public class CacheException extends RuntimeException {
    /**
     * 构造
     */
    public CacheException() {
        super();
    }

    /***
     * 构造
     *
     * @param message 消息
     */
    public CacheException(String message) {
        super(message);
    }

    /**
     * 构造
     *
     * @param message 消息
     * @param cause 异常
     */
    public CacheException(String message, Throwable cause) {
        super(message, cause);
    }

    /**
     * 构造
     *
     * @param cause 异常
     */
    public CacheException(Throwable cause) {
        super(cause);
    }

    /**
     * 构造
     *
     * @param message 消息
     * @param cause 异常
     * @param isEnableSuppression 是否选则
     * @param isWritableStackTrace 是否写入
     */
    protected CacheException(String message, Throwable cause, boolean isEnableSuppression,
                             boolean isWritableStackTrace) {
        super(message, cause, isEnableSuppression, isWritableStackTrace);
    }
}
